package base;

import javafx.beans.property.IntegerProperty;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;

public class Assignment {
	private final StringProperty content;
    private final StringProperty date;
    private final StringProperty manager;
    private final StringProperty state;
    private final StringProperty tid;
   

    public Assignment(String tid,String content, String date,String manager, String state)
    {
    	this.tid=new SimpleStringProperty(tid);
    	this.content=new SimpleStringProperty(content);
    	this.date=new SimpleStringProperty(date);
    	this.manager=new SimpleStringProperty(manager);
    	this.state=new SimpleStringProperty(state);
    }
    
    public String getContent()
    {
    	return content.get();
    }
    
    public String getDate()
    {
    	return date.get();
    }
    
    public String getTid()
    {
    	return tid.get();
    }
    
    public String getManager()
    {
    	return manager.get();
    }
    
    public String getState()
    {
    	return state.get();
    }
    
    public StringProperty contentProperty()
    {
    	return content;
    }
    
    public StringProperty dateProperty()
    {
    	return date;
    }
    
    public StringProperty managerProperty()
    {
    	return manager;
    }
    
    public StringProperty stateProperty()
    {
    	return state;
    }
}
